#-*- coding: utf-8 -*-
from menu import Menu, MenuItem
from django.core.urlresolvers import reverse
from django.contrib.auth.views import *
from apiManager.models import *

#Main menu
Menu.add_item("main", MenuItem("Home", reverse("eve_scm.views.scm_home"), weight=10))

Menu.add_item("main", MenuItem("Production", reverse("eve_scm.views.shoplist"), weight=20))

Menu.add_item("main", MenuItem("Assets", reverse("apiManager.views.assets"), weight=30))

Menu.add_item("main", MenuItem("Test", reverse("eve_scm.views.test"), weight=40))

Menu.add_item("main", MenuItem("Valkyrie: test", reverse("eve_scm.views.valkyrie"), weight=50))

Menu.add_item("main", MenuItem("BPCreator", reverse("eve_scm.views.BPCreator"), weight=60))

Menu.add_item("main", MenuItem("Logout", reverse("django.contrib.auth.views.logout"), weight=70))

#Menu.add_item("main", MenuItem("Bootstrap", reverse("eve_scm.views.boot"), weight=70))

#TO do views
#user menu :
#  1) user children
#myaccount_children = (
        #MenuItem("Edit Profile", reverse("accounts.view.editprofile"), weight=10),
        #MenuItem("Change password", reverse("django.contrib.auth.views.password_change"), weight=20),
#        MenuItem("Logout", reverse("django.contrib.auth.views.logout"), weight=90, separator=True),             
#          )
 
# 2) user menu
#Menu.add_item("user", MenuItem("MyAccount", reverse("apiManager.views.myaccount"), weight=10, children=myaccount_children))





